/**
 * Ingenius-Group S.A.S
 *
 * Project: SAU
 * File: ListPresenter.java
 * Date: 06/02/2011
 */

package com.ingenius.sau.client.presenter;

import java.util.List;

import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ingenius.sau.shared.util.filter.Filter;

/**
 * Class <strong>ListPresenter</strong>
 * 
 * @author Jesus David
 * @version 0.1
 */
public interface ListPresenter<Bean> extends Presenter {

	void doAdd();

	void doEdit();

	void doDelete();

	void goInto();

	void fireEvent(GwtEvent<?> event);

	void setSelectedItemId(String id);

	void loadData(List<Filter> filters, Object loadConfig,
			AsyncCallback<PagingLoadResult<Bean>> callback);

	String getModuleName();

}
